package org.jeecg.modules.factor.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.api.entity.CyEmissionFactorData;

/**
 * @Description: 碳排因子数据详情
 * @Author: jeecg-boot
 * @Date:   2024-11-01
 * @Version: V1.0
 */
public interface CyEmissionFactorDataMapper extends BaseMapper<CyEmissionFactorData> {

    CyEmissionFactorData SelectByEmissionFactorId(String EmissionFactorId);

    // 通过碳排因子id来更新碳排因子数据详情对象
    void updateByEmissionFactorId(CyEmissionFactorData cyEmissionFactorData);

    CyEmissionFactorData SelectByDenominator(String denominatorUnit,String emissionFactorId);
}
